                                            <!--更多附件-->
                                                <div class="row">
                                                    <div class="col-md-3 col-form-label text-right">{:lang('v_upload')} {:lang('v_video')}</div>
                                                    <div class="col-md-7">
                                                        <table width="100%" border="0" cellpadding="0" cellspacing="0" id="tab2">
                                                            {empty name="rs.morefileurl"}
                                                                <tr>
                                                                    <td>
                                                                        <input type="hidden" name="price_arr[]" id="price_arr1" value="0">
                                                                        <div class="row">
                                                                            <div class="col-md-6 pl-2">
                                                                                <div class="input-group mb-2">
                                                                                    <span class="input-group-prepend">
                                                                                        <span class="input-group-text h7">{:lang('v_video')} {:lang('v_cover')}</span>
                                                                                    </span>
                                                                                    <input name="thumb_arr[]" id="morepics2" type="text" class="form-control" value="">
                                                                                    <span class="input-group-append">
                                                                                        <span class="btn btn-success" onclick="upImage('#morepics2');"><i class="fa fa-image fa-fw mr-1"></i>{:lang('v_upload_img')}</span>
                                                                                    </span>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-6 pl-0">
                                                                                <div class="input-group mb-2">
                                                                                    <span class="input-group-prepend">
                                                                                        <span class="input-group-text h7">{:lang('v_video')} {:lang('v_address')}</span>
                                                                                    </span>
                                                                                    <input name="file_arr[]" id="morefileurl2" type="text" class="form-control" value="">
                                                                                    <span class="input-group-append">
                                                                                        <span class="btn btn-success" onclick="upFiles('#morefileurl2');"><i class="fa fa-video fa-fw mr-1"></i>{:lang('v_upload')} {:lang('v_video')}</span>
                                                                                    </span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row mb-3">
                                                                            <div class="col-md-6 pl-2">
                                                                                <div class="input-group mb-2">
                                                                                    <span class="input-group-prepend">
                                                                                        <span class="input-group-text h7">{:lang('v_video')} {:lang('v_title')}</span>
                                                                                    </span>
                                                                                    <input name="title_arr[]" type="text" class="form-control" value="">
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-6 pl-0">
                                                                                <div class="input-group mb-2">
                                                                                    <span class="input-group-prepend">
                                                                                        <span class="input-group-text h7">{:lang('v_video')} {:lang('v_duration')}</span>
                                                                                    </span>
                                                                                    <input name="duration_arr[]" type="number" class="form-control" value="">
                                                                                    <span class="input-group-append">
                                                                                        <span class="input-group-text h7">{:lang('v_minute')}</span>
                                                                                        <span class="input-group-text h7 d-none">{:lang('v_free')}<input type="checkbox" id="price_arr_flag1" value="1" class="ml-1" onclick="javascript:price_arr_choice('#price_arr_flag1','#price_arr1');"></span>
                                                                                        <span class="btn btn-info" onClick="javascript:AddRow('tab2','delbutton2','upFiles','morefileurl','1','{:lang('v_upload_file')}');"><i class="fa fa-plus-circle fa-fw mr-1"></i>{:lang('v_add_one')}</span>
                                                                                    </span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>                        
                                                            {else /}
                                                                {volist name="morefileurl" id="file"}
                                                                    {php}$fileArr = explode('@',$file);{/php}
                                                                    <tr>
                                                                        <td>
                                                                            <input type="hidden" name="price_arr[]" id="price_arr{$i}" value="{if $fileArr[4] eq 1}1{else /}0{/if}">
                                                                            <div class="row">
                                                                                <div class="col-md-6 pl-2">
                                                                                    <div class="input-group mb-2">
                                                                                        <span class="input-group-prepend">
                                                                                            <span class="input-group-text h7">{:lang('v_video')} {:lang('v_cover')}</span>
                                                                                        </span>
                                                                                        <input name="thumb_arr[]" id="morepics{$i}" type="text" class="form-control" value="{$fileArr[0]}">
                                                                                        <span class="input-group-append">
                                                                                            <span class="btn btn-success" onclick="upImage('#morepics{$i}');"><i class="fa fa-image fa-fw mr-1"></i>{:lang('v_upload_img')}</span>
                                                                                        </span>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="col-md-6 pl-0">
                                                                                    <div class="input-group mb-2">
                                                                                        <span class="input-group-prepend">
                                                                                            <span class="input-group-text h7">{:lang('v_video')} {:lang('v_address')}</span>
                                                                                        </span>
                                                                                        <input name="file_arr[]" id="morefileurl{$i}" type="text" class="form-control" value="{$fileArr[1]}">
                                                                                        <span class="input-group-append">
                                                                                            <span class="btn btn-success" onclick="upFiles('#morefileurl{$i}');"><i class="fa fa-video fa-fw mr-1"></i>{:lang('v_upload')} {:lang('v_video')}</span>
                                                                                        </span>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="row mb-3">
                                                                                <div class="col-md-6 pl-2">
                                                                                    <div class="input-group mb-2">
                                                                                        <span class="input-group-prepend">
                                                                                            <span class="input-group-text h7">{:lang('v_video')} {:lang('v_title')}</span>
                                                                                        </span>
                                                                                        <input name="title_arr[]" type="text" class="form-control" value="{$fileArr[2]}">
                                                                                    </div>
                                                                                </div>
                                                                                <div class="col-md-6 pl-0">
                                                                                    <div class="input-group mb-2">
                                                                                        <span class="input-group-prepend">
                                                                                            <span class="input-group-text h7">{:lang('v_video')} {:lang('v_duration')}</span>
                                                                                        </span>
                                                                                        <input name="duration_arr[]" type="number" class="form-control" value="{$fileArr[3]}">
                                                                                        <span class="input-group-append">
                                                                                            <span class="input-group-text h7">{:lang('v_minute')}</span>
                                                                                            <span class="input-group-text h7 d-none">{:lang('v_free')}<input type="checkbox" id="price_arr_flag{$i}" value="1" class="ml-1" {if $fileArr[4] eq 1}checked="yes"{/if} onclick="javascript:price_arr_choice('#price_arr_flag{$i}','#price_arr{$i}');"></span>
                                                                                            {eq name="i" value="1"}
                                                                                                <span class="btn btn-info" onClick="javascript:AddRow('tab2','delbutton2','upFiles','morefileurl','{$morefilesNum}','{:lang('v_upload_file')}');"><i class="fa fa-plus-circle fa-fw mr-1"></i>{:lang('v_add_one')}</span>
                                                                                            {else /}
                                                                                                <label class="btn btn-danger"><input type="checkbox" class="d-none" id="delbutton2" onClick="javascript:DelRow('tab2','delbutton2');" /><i class="fa fa-trash fa-fw mr-1"></i>{:lang('v_delete_this')}</label>
                                                                                            {/eq}
                                                                                        </span>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                    </tr>                        
                                                                {/volist}
                                                            {/empty}
                                                        </table>
                                                    </div>
                                                </div>
                                            <!-- 共用上传图片/附件 结束 -->